# coding=utf8

# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTE: This class is auto generated by the jdcloud code generator program.


class UserPolicySetReq(object):

    def __init__(self, id=None, name=None, autoAdd=None, importLevel=None, ruleIds=None):
        """
        :param id: (Optional) 规则组id, 0-新建，非0-编辑
        :param name: (Optional) 规则组名字
        :param autoAdd: (Optional) 规则是否自动更新, 0/1, importLevel = 0时，autoAdd不能开启
        :param importLevel: (Optional) 导入规则集的等级，0-未导入/1-宽松/2-正常/3-严格
        :param ruleIds: (Optional) 规则id
        """

        self.id = id
        self.name = name
        self.autoAdd = autoAdd
        self.importLevel = importLevel
        self.ruleIds = ruleIds
